package com.youpai.platform.wallet.service.entity.po;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @date: 2023/2/16
 * @author: Welles
 * @version: 1.0
 * @description: 钱包记录PO
 */
@Data
@Accessors(chain = true)
public class WalletRecordPO {

    /**
     * uid
     */
    private Long uid;

    /**
     * 钱包id
     */
    private Long walletId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * {@link com.youpai.platform.wallet.web.enums.BusinessCodeEnum}
     */
    private Integer businessCode;

    /**
     * 变更原因
     */
    private String changeSource;

    /**
     * 变更数量
     */
    private Long changeCoin;

    /**
     * 改变的类型，活动获取还是充值
     */
    private Integer changeType;

    /**
     * 创建时间
     */
    private Date createTime;
}
